OTP\Handler\Forms\WooCommerceProductVendors S

Total Complexity 41
Dependencies 8
Dependents 0
Total lines 230
Lines of code 155
Logical lines of code 92
Comment lines 0
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
processFormFields()
A
54 8 19
checkIntegrity()
S
60 5 12
checkIntegrityAndValidateOTP()
S
59 4 14
sendAjaxOTPRequest()
S
58 3 15
__construct()
S
58 2 15
miniorange_register_wc_script()
S
59 2 13
mo_add_phone_field()
S
64 2 11
handleFormOptions()
S
62 2 11
checkIfOTPWasSent()
S
73 2 5
assertOTPField()
S
72 2 5
reg_fields_errors()
S
70 2 6
getPhoneNumberSelector()
S
71 2 6
handleForm()
S
65 1 8
isPhoneNumberAlreadyInUse()
S
69 1 6
unsetOTPSessionVariables()
S
79 1 3
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3